<template>
  <div class="singer-detail">
    <div class="mtop-20" v-for="(desc, index) in detail" :key="index">
      <h2 class="font-weight">{{ desc.ti }}</h2>
      <div class="description">
        <p v-for="(txt, index) in desc.txt" :key="index">
          {{ txt }}
        </p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'singerDetail',

  props: {
    detail: {
      type: Array,
      default() {
        return []
      }
    }
  }
}
</script>

<style lang="less" scoped>
// .singer-detail {
  .description {
    text-indent: 2em;
    line-height: 3;
    width: 100%;
  }
// }
</style>